how to find gain k in root locus